Mega Code Archive

Categories
1) Android
2) ASP.Net
3) ASP.Net Tutorial
4) C
5) C Tutorial
6) C#
7) C# Book
8) C# by API
9) C# Tutorial
10) C++
11) C++ Tutorial
12) Delphi
13) Flash ActionScript
14) Flex
15) Java
16) Java Book
17) Java by API
18) Java Tutorial
19) JavaScript DHTML
20) JavaScript Reference
21) JavaScript Tutorial
22) MSOfficeExcel 2007 Tutorial
23) MSOfficePowerPoint 2007 Tutorial
24) MSOfficeWord 2007 Tutorial
25) MSSQL
26) MSSQL Tutorial
27) MySQL
28) MySQL Tutorial
29) Oracle PLSQL
30) Oracle PLSQL Tutorial
31) Perl
32) Php
33) PostgreSQL
34) Python
35) Python Tutorial
36) Ruby
37) Silverlight
38) VB.Net
39) VB.Net by API
40) VB.Net Tutorial
41) Visual C++ .NET
42) VisualBasic Script
43) XML
44) XML Tutorial
 
PostgreSQL
1) Aggregate Functions
2) Analytical Functions
3) Array
4) Constraints
5) Cursor
6) Data Type
7) Database
8) Date Timezone
9) Index
10) Inheritance
11) Insert Delete Update
12) Math Functions
13) Postgre SQL
14) Select Query
15) Sequence
16) Store Procedure Function
17) String Functions
18) Subquery
19) Table
20) Table Joins
21) Transaction
22) User Previliege
23) View
Date Timezone
1) Comparing date in where clause
2) Date_part(year, date)
3) Date_trunc(hour, now())
4) Date_trunc(minute, now())
5) Date_trunc(year, now())
6) Displays the current date formatting style
7) Extract(MONTH FROM now())
8) Get current date
9) Get current time
10) Get current time for logging
11) Get time of day
12) Interpreting interval formats
13) Now()
14) Return the current time using the ISO format as instructed
15) SELECT now()
16) SET DATESTYLE TO NONEUROPEAN, GERMAN
17) Sets the date and time formatting to ISO
18) Sets the DATESTYLE variable to use traditional PostgreSQL style formatting
19) Setting date formats
20) To_char(now(), Dy (Day), Mon (Month))
21) To_char(now(), HH
22) To_char(start_date, FMMonth FMDDth, YYYY)
23) To_char(start_date, Y,YYY years A D )
24) To_char(start_date, YYYY-MM-DD HH24
25) To_char(start_date, YYYY-MM-DD)
26) To_char(yesterday
27) To_date(198025thJune, YYYYDDthMonth)
28) To_timestamp(197825July01
29) Using timestamp values correctly